﻿#include <QApplication>
#include "LumDebug.h"
#include "WidgetInspectorTestWidget.h"
#include "MainWidget.h"
#include "MainWindow.h"

#include <QStyleFactory>
#include <QStyle>

int main(int argc, char *argv[]) {
    QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
    QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);

    QApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);

    QApplication app(argc, argv);

    DEBUG << QStyleFactory::keys();
    //app.setStyle(QStyleFactory::create("Windows"));

    //WidgetInspectorTestWidget inspectorTestWidget;
    //inspectorTestWidget.show();

    MainWidget mainWidget;
    mainWidget.show();

    //MainWindow mainWindow; mainWindow.show();


    return app.exec();
}
